package com.zhongwang.business.module.quoteManage.quoteManageModel;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
@Data
public class FileManageModel {
    private Integer fileId;

    private Integer mainId;

    private Integer archId;

    private String fileName;

    private String fileComment;

    private Integer fileType;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date fileUploadDate;

    private String fileUrl;

    private String filePath;

    private String userId;

    private String userName;

    private Integer fileStatus;

    private Integer quoteId;

    public FileManageModel(Integer fileId, Integer mainId, Integer archId, String fileName, String fileComment, Integer fileType, Date fileUploadDate, String fileUrl, String filePath, String userId, String userName, Integer fileStatus) {
        this.fileId = fileId;
        this.mainId = mainId;
        this.archId = archId;
        this.fileName = fileName;
        this.fileComment = fileComment;
        this.fileType = fileType;
        this.fileUploadDate = fileUploadDate;
        this.fileUrl = fileUrl;
        this.filePath = filePath;
        this.userId = userId;
        this.userName = userName;
        this.fileStatus = fileStatus;
    }

    public FileManageModel() {
        super();
    }

    public Integer getFileId() {
        return fileId;
    }

    public void setFileId(Integer fileId) {
        this.fileId = fileId;
    }

    public Integer getMainId() {
        return mainId;
    }

    public void setMainId(Integer mainId) {
        this.mainId = mainId;
    }

    public Integer getArchId() {
        return archId;
    }

    public void setArchId(Integer archId) {
        this.archId = archId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName == null ? null : fileName.trim();
    }

    public String getFileComment() {
        return fileComment;
    }

    public void setFileComment(String fileComment) {
        this.fileComment = fileComment == null ? null : fileComment.trim();
    }

    public Integer getFileType() {
        return fileType;
    }

    public void setFileType(Integer fileType) {
        this.fileType = fileType;
    }

    public Date getFileUploadDate() {
        return fileUploadDate;
    }

    public void setFileUploadDate(Date fileUploadDate) {
        this.fileUploadDate = fileUploadDate;
    }

    public String getFileUrl() {
        return fileUrl;
    }

    public void setFileUrl(String fileUrl) {
        this.fileUrl = fileUrl == null ? null : fileUrl.trim();
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath == null ? null : filePath.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public Integer getFileStatus() {
        return fileStatus;
    }

    public void setFileStatus(Integer fileStatus) {
        this.fileStatus = fileStatus;
    }
}